//index.js
//获取应用实例
const app = getApp()

Page({
  data: {
    //顶部轮播图
    imgUrls: [{
        id: 'to_001',
        url: 'cloud://wqz-001-8vh1j.7771-wqz-001-8vh1j-1301063888/一人之下/一人之下.gif'
      }, {
        id: 'to_003',
        url: 'cloud://wqz-001-8vh1j.7771-wqz-001-8vh1j-1301063888/白蛇/白蛇_002.jpg'
      }, {
        id: 'to_002',
        url: 'cloud://wqz-001-8vh1j.7771-wqz-001-8vh1j-1301063888/刺客伍六七/伍六七_01.jpg'
      }, {
        id: 'to_004',
        url: 'cloud://wqz-001-8vh1j.7771-wqz-001-8vh1j-1301063888/other/百妖谱.jpg'
      }

    ],
    //第二部分数据数组
    contentImgUrls: [{
      id: '001',
      title: '一人之下',
      url: 'cloud://wqz-001-8vh1j.7771-wqz-001-8vh1j-1301063888/一人之下/宝宝_080.jpg'
    }, {
      id: '002',
      title: '伍六七-梅十三',
      url: 'cloud://wqz-001-8vh1j.7771-wqz-001-8vh1j-1301063888/刺客伍六七/伍六七_梅士三.jpg'
    }, {
      id: '003',
      title: '白蛇缘起',
      url: 'cloud://wqz-001-8vh1j.7771-wqz-001-8vh1j-1301063888/白蛇/白蛇.jpg'
    }, {
      id: '004',
      title: '紫罗兰永恒花园',
      url: 'cloud://wqz-001-8vh1j.7771-wqz-001-8vh1j-1301063888/other/紫罗兰永恒花园.jpg'
    }, {
      id: '005',
      title: '虫师-银古',
      url: 'cloud://wqz-001-8vh1j.7771-wqz-001-8vh1j-1301063888/other/虫师_银古.jpg'
    }, {
      id: '006',
      title: '中国唱诗班-红豆',
      url: 'cloud://wqz-001-8vh1j.7771-wqz-001-8vh1j-1301063888/other/相思.jpg'
    }],

    indicatorDots: true, //显示面板显示点
    autoplay: true, //自动切换
    interval: 2000, //切换时间
    duration: 1000 //动画时长
  },


  //到天气查询页
  // toWeatherQuery: function(e) {
  //   console.log("城市名称" + this.data.cityName2 + "名称" + this.data.userName)
  //   wx.navigateTo({
  //     url: '../weather/weather'
  //   })
  // },
  toyuxiang: function (e) {
    wx.navigateTo({
      url: '../yuxiang/yuxiang'
    })
  },
  toHeroMemories: function (e) {
    wx.navigateTo({
      url: '../HeroMemories/HeroMemories'
    })
  },
  to_001: function (e) {
    wx.navigateTo({
      url: '../Anime/001/001'
    })
  },
  to_002: function (e) {
    wx.navigateTo({
      url: '../Anime/002/002'
    })
  },
  to_003: function (e) {
    wx.navigateTo({
      url: '../Anime/003/003'
    })
  },
  to_004: function (e) {
    wx.navigateTo({
      url: '../Anime/004/004'
    })
  },
  to_005: function (e) {
    wx.navigateTo({
      url: '../Anime/005/005'
    })
  },
  to_006: function (e) {
    wx.navigateTo({
      url: '../Anime/006/006'
    })
  },
  to_007: function (e) {
    wx.navigateTo({
      url: '../Anime/006/006'
    })
  },
  to_008: function (e) {
    wx.navigateTo({
      url: '../Anime/006/006'
    })
  },
  to_009: function (e) {
    wx.navigateTo({
      url: '../Anime/006/006'
    })
  },
  to_010: function (e) {
    wx.navigateTo({
      url: '../Anime/006/006'
    })
  },

})